package com.bestcem.xm.member.enums;

import com.bestcem.xm.common.core.enums.CommonEnum;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 问卷项目状态
 * @date 2021-12-17
 */
public enum SurveyProjectStatusEnum implements CommonEnum {
    /**
     * 未发布
     */
    CREATED("未发布", 0),

    /**
     * 收集中
     */
    ACTIVATED("收集中", 1),

    /**
     * 已结束
     */
    FINISHED("已结束", 2),

    /**
     * 已删除
     */
    DELETED("已删除", 3),

    /**
     * 彻底删除
     */
    DELETED2("彻底删除", 4);

    private String name;

    private int index;

    SurveyProjectStatusEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    public String getName() {
        return name;
    }
}
